home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Scene Storm
/
Scene Storm - Volume 1.iso
/
coding
/
c
/
northc
/
northc1.lzh
/
include
/
stdarg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-30
|
320b
|
16 lines
/*
* STDARG.H
*/
#ifndef STDARG_H
#define STDARG_H
typedef char *va_list;
#define va_start(list,param) list = ((va_list) &(param)) \
+ ((sizeof(param) + 1) & ~1)
#define va_arg(list,type) ((type *)(list += ((sizeof(type) + 1) & ~1)))[-1]
#define va_end(list) list = ((va_list) 0)
#endif STDARG_H